<?php if (!defined('HKCMS_VERSION')) exit(); ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="applicable-device" content="pc,mobile" />
    <title>
        {if condition="!empty($SEO['title'])"}{$SEO['title']}{/if}{$SEO['site_title']}
    </title>
    <link href="{$config_siteurl}statics/default/css/bootstrap.css" rel="stylesheet" />
    <link href="{$config_siteurl}statics/default/css/glide.css" rel="stylesheet" />
    <link href="{$config_siteurl}statics/default/css/style.css" rel="stylesheet" />
    <link href="{$config_siteurl}statics/default/css/online.css"rel="stylesheet" />
    <script src="{$config_siteurl}statics/default/js/jquery.min.js" type="text/javascript"></script>
    <script src="{$config_siteurl}statics/default/js/bootstrap.js" type="text/javascript"></script>
    <script src="{$config_siteurl}statics/default/js/jquery.glide.js" type="text/javascript"></script>
    <!--[if lt IE 9]>
    <script src="{$config_siteurl}statics/default/js/html5shiv.min.js" type="text/javascript"></script>
    <script src="{$config_siteurl}statics/default/js/respond.min.js" type="text/javascript"></script>
    <![endif]-->
</head>

<body>
{hkcms:template file="content/header.php"/}

<!-- Banner -->
<div class="banner">
    <div class="slider">
        <ul class="slider__wrapper">
            <li class="slider__item"><a target="_blank" title="HkCms 官方" href="" style="background-image:url({$config_siteurl}statics/default/images/banner.jpg)">
                <img src="{$config_siteurl}statics/default/images/banner.jpg" alt="HkCms 官方" />
            </a></li>
        </ul>
    </div>
</div>

<script type="text/javascript">
    var glide = $('.slider').glide();
</script>

<!-- 内容 -->
<div class="container">
    <div class="row">

        <div class="col-xs-12 col-sm-8 col-md-9" id="rightBox">


            <div class="col-sm-12 col-md-12 pad">
                <form id="ff" method="post" action="{:url('addons/message/save')}">
                    <table cellpadding="3" cellspacing="5" class="reg">
                        <tr>
                            <td align="center" colspan="2">
                                <br />
                                感谢您光临我公司网站，如您有任何疑问请与我们留言，我们会在第一时间联系您！<br />
                                <br />
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                姓名
                            </td>
                            <td align="left">
                                <input class="easyui-validatebox" type="text" name="name" data-options="required:true" style="width:90%;" />
                                *
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                电话
                            </td>
                            <td align="left">
                                <input class="easyui-validatebox" type="text" name="phone" data-options="" style="width:90%;" />
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                邮箱
                            </td>
                            <td align="left">
                                <input class="easyui-validatebox" type="text" name="email" data-options="validType:'email'" style="width:90%;" />
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                反馈内容
                            </td>
                            <td align="left">
                                <textarea name="content" style="width:90%; height:70px"></textarea>*
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                验证码
                            </td>
                            <td align="left">
                                <input class="easyui-validatebox" name="code" type="text" data-options="" style="width:30%;" />
                                <a href="#" onclick="getcodoe(this)"><img src="/api/checkcode/index?code_len=4&font_size=20&width=130&height=50&font_color=&background=" style="height:35px;" /></a>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" align="center">
                                <input class="btn" type="submit" value="确定" />&nbsp;&nbsp;&nbsp;&nbsp;
                                <input class="btn" type="reset" value="重置" />
                            </td>
                        </tr>
                    </table>
                </form>

                <div style="width:100%; height:30px;"></div>

            </div>
        </div>

        <div class="col-xs-12 col-sm-4 col-md-3">

            <div class="navigationBox" id="classification">
                <div class="titleBar">
<!--                    <h1>导航栏目</h1>-->
                    <span></span>
                </div>
                <div class="list">
                </div>
            </div>

            <div class="leftContactBox">
                <div class="content">
                    <p style="padding-top:20px;">联系人：张经理</p>
                    <p>手机：13800138000</p>
                    <p>电话：020-800000000</p>
                    <p>邮箱：admin@hkcms.cn</p>
                    <p>地址： 广东省广州市白云区</p>
                </div>
            </div>

        </div>

    </div>
</div>

{hkcms:template file="content/footer.php"/}
<script>
    function getcodoe(obj) {
        var url = '/api/checkcode/index?code_len=4&font_size=20&width=130&height=50&font_color=&background=&refresh=1';
        $(obj).find('img').attr('src',url+'&time='+Math.random());
        obj.preventDefault();
    }
</script>
</body>
</html>